package com.techstar.api.pojo.onlinecar;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.techstar.common.jackson.StrDateDeserializer;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 
 * @author EinIce
 * @description 当月日单车营运趋势
 * @date 2021年8月9日
 */

@Getter
@Setter
@Entity
@ToString
@Table(name = "onlinecar_month_business_percar_trend")
@org.hibernate.annotations.Table(appliesTo = "onlinecar_month_business_percar_trend",comment="pbtp-5-当月日单车营运趋势")
public class OnlinecarMonthBusinessPercarTrend {
	@Column(columnDefinition="varchar(100) COMMENT '单车平均营运里程'")
	private String businessMileagePerCar;
	@Column(columnDefinition="varchar(100) COMMENT '单车平均载客里程'")
	private String loadMileagePerCar;
	@Column(columnDefinition="varchar(100) COMMENT '单车平均订单数'")
	private String bookingNumPerCar;
	@Column(columnDefinition="varchar(100) COMMENT '单车平均营收金额'")
	private String tradingAmountPerCar;
	@Id
	@Column(columnDefinition="varchar(50) COMMENT '业务统计时间'")
	@JsonDeserialize(using = StrDateDeserializer.class)
	private String createTime;
}

